package com.hmall.mapper;

import com.hmall.model.Diction;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictionMapper extends MyMapper<Diction> {
    /**
     * 通过key 获取
     */
   Diction selectByDictionKey(@Param("key") String key);

    List<Diction> selectListByDictionKey(@Param("key") String s);

    void updateByDitionKey(@Param("dictionKey") String type, @Param("version") String version, @Param("check") String check);
}